package com.alan.base.config;

public class Config {

    private boolean isLog;
    private boolean isLogE;
    private boolean isLogF;

    private String logTag;
    private static Config config;

    private Config() {
        isLog = true;
        logTag = "ALAN_GLOBAL_TAG";
        isLogE = true;
        isLogF = false;
    }

    public static Config getInstance() {
        if (null == config) {
            config = new Config();
        }
        return config;
    }

    public boolean isLog() {
        return isLog;
    }

    public void setLog(boolean log) {
        isLog = log;
    }

    public String getLogTag() {
        return logTag;
    }

    public void setLogTag(String logTag) {
        this.logTag = logTag;
    }

    public boolean isLogE() {
        return isLogE;
    }

    public void setLogE(boolean logE) {
        isLogE = logE;
    }

    public boolean isLogF() {
        return isLogF;
    }

    public void setLogF(boolean logF) {
        isLogF = logF;
    }
}
